package com.xin.di.uav.applet.rest;

import com.xin.di.uav.applet.service.IBillService;
import com.xin.di.uav.common.request.order.BillAddRequest;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 前端控制器
 * </p>
 *
 * @author LTQ
 * @since 2023-07-03
 */
@RestController
@RequestMapping("/sys/bill")
public class BillRest {

    @Autowired
    private IBillService iBillService;

    @PostMapping("add")
    public void add(BillAddRequest billAddRequest) {
        iBillService.add(billAddRequest);
    }


}
